package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserVisitRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserVisitRecordRepository extends JpaRepository<UserVisitRecord, Integer> {
    List<UserVisitRecord> findByDate(String date);
    List<UserVisitRecord> findByUidAndVisitType(Integer uid, Integer visitType);
    List<UserVisitRecord> findByDateAndVisitType(String date, Integer visitType);
} 